export class ListResult<T> {
  items: Array<T>;
  totalCount: number;

  constructor() {
    this.items = new Array<T>();
    this.totalCount = 0;
  }
}

export class Attachment {
  id: string;
  name: string;
  size: number;
  mimeType: string;
  extension: string;
  metadata: string;
  url: string;
  path: string;
  fileUrlTemp: string; // 可选属性
  objectName: string;
  bucketName:string
}

export class EntityDto {
  id: string;
}


export class CreationAuditedEntityDto extends EntityDto{
  creationTime: string
  creatorId: string
  constructor(){
    super()
  }
}

export class AuditedEntityDto extends CreationAuditedEntityDto{
  lastModificationTime: string
  lastModifierId: string
  constructor(){
    super()
  }
}



export class FullAuditEntityDto extends AuditedEntityDto{
   isDeleted: boolean  
   deleterId: string
   deletionTime :string
   constructor(){
    super()
   }
}
